package com.bed.lovewithpatientbed.dao;

import com.bed.lovewithpatientbed.pojo.MalfunctionType;
import com.bed.lovewithpatientbed.pojo.MalfunctionTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MalfunctionTypeDao {
    long countByExample(MalfunctionTypeExample example);

    int deleteByExample(MalfunctionTypeExample example);

    int deleteByPrimaryKey(Integer malfunctionTypeId);

    int insert(MalfunctionType record);

    int insertSelective(MalfunctionType record);

    List<MalfunctionType> selectByExample(MalfunctionTypeExample example);

    MalfunctionType selectByPrimaryKey(Integer malfunctionTypeId);

    int updateByExampleSelective(@Param("record") MalfunctionType record, @Param("example") MalfunctionTypeExample example);

    int updateByExample(@Param("record") MalfunctionType record, @Param("example") MalfunctionTypeExample example);

    int updateByPrimaryKeySelective(MalfunctionType record);

    int updateByPrimaryKey(MalfunctionType record);
}